Updating Web Resources

ABSTRACT

Updating web resources includes extracting web resources from an application to local files in response to an initial start-up of the application, downloading updates to the web resources to the local files from an external server; and running the application using contents from the local files.

BACKGROUND

The present invention relates to updating web resources, and morespecifically, updating web resources on devices that download andoperate applications.

Applications for mobile devices, such as electronic tablets and cellphones, may be downloaded over the internet. These applications allowusers to do a variety of activities such as read literature, createillustrations, annotate documents, play games, other activities, andcombinations thereof. Often, a user will virtually visits an onlineapplication store where such applications may be downloaded for free orpurchased for a price.

BRIEF SUMMARY

A method for updating web resources includes extracting web resourcesfrom an application to local files in response to an initial start-up ofthe application, downloading updates to the web resources to the localfiles from an external server, and running the application usingcontents from the local files.

A method for updating web resources includes downloading an applicationthat has web resources, extracting web resources from the application tolocal files in response to an initial start-up of the application,querying an external server to identify updates to the web resources,downloading the updates to the web resources to the local files from theexternal server, and running the application using contents from thelocal files.

A method for updating web resources includes sending an application thathas web resources to a client device, the application having a firstcomponent to extract the web resources to local files on the clientdevice and a second component to use the web resource from the localfiles during an operation; receiving a query from the client device forupdates to the web resources; and sending the updates to the clientdevice.

A method for updating web resources includes extracting web resourcesfrom the application to permanent local files of a client device inresponse to an initial start-up of the application on the client device,querying an external server to identify updates to the web resources,the updates having a resource indictor with an identification for anoperating system of the client device, downloading the updates to theweb resources to the local files from the external server, and runningthe application using contents from the local files.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

FIG. 1 is a diagram showing an illustrative system for updating webresources, according to one example of the principles described herein.

FIG. 2 is a diagram showing an illustrative system for updating webresources, according to one example of the principles described herein.

FIG. 3 is a diagram showing an illustrative system for operating anapplication, according to one example of the principles describedherein.

FIG. 4 is a diagram showing an illustrative method for updating webresources, according to one example of the principles described herein.

FIG. 5 is a diagram showing an illustrative method for updating webresources, according to one example of the principles described herein.

FIG. 6 is a diagram showing an illustrative processor, according to oneexample of the principles described herein.

FIG. 7 is a diagram showing an illustrative network device, according toone example of the principles described herein.

FIG. 8 is a diagram showing an illustrative flowchart of a process forupdating web resources, according to one example of the principlesdescribed herein.

FIG. 9 is a diagram showing an illustrative flowchart of a process forupdating web resources, according to one example of the principlesdescribed herein.

DETAILED DESCRIPTION

The present specification describes a method and system for updating webresources such that an application on a client device may have a quickstart-up time while being easy to maintain without relying on aconnection to an external server.

As will be appreciated by one skilled in the art, aspects of the presentinvention may be embodied as a system, method, or computer programproduct. Accordingly, aspects of the present invention may take the formof an entirely hardware embodiment, an entirely software embodiment(including firmware, resident software, micro-code, etc.) or anembodiment combining software and hardware aspects that may allgenerally be referred to herein as a “circuit,” “module” or “system.”Furthermore, aspects of the present invention may take the form of acomputer program product embodied in one or more computer readablemedium(s) having computer readable program code embodied thereon.

Any combination of one or more computer readable medium(s) may beutilized. The computer readable medium may be a computer readable signalmedium or a computer readable storage medium. A computer readablestorage medium may be, for example, but not limited to, an electronic,magnetic, optical, electromagnetic, infrared, or semiconductor system,apparatus, or device, or any suitable combination of the foregoing. Morespecific examples (a non-exhaustive list) of the computer readablestorage medium would include the following: an electrical connectionhaving one or more wires, a portable computer diskette, a hard disk, arandom access memory (RAM), a read-only memory (ROM), an erasableprogrammable read-only memory (EPROM or Flash memory), an optical fiber,a portable compact disc read-only memory (CD-ROM), an optical storagedevice, a magnetic storage device, or any suitable combination of theforegoing. In the context of this document, a computer readable storagemedium may be any tangible medium that can contain, or store a programfor use by or in connection with an instruction execution system,apparatus, or device.

A computer readable signal medium may include a propagated data signalwith computer readable program code embodied therein, for example, inbaseband or as part of a carrier wave. Such a propagated signal may takeany of a variety of forms, including, but not limited to,electro-magnetic, optical, or any suitable combination thereof. Acomputer readable signal medium may be any computer readable medium thatis not a computer readable storage medium and that can communicate,propagate, or transport a program for use by or in connection with aninstruction execution system, apparatus, or device.

Program code embodied on a computer readable medium may be transmittedusing any appropriate medium, including but not limited to wireless,wireline, optical fiber cable, RF, etc., or any suitable combination ofthe foregoing.

Computer program code for carrying out operations of the presentinvention may be written in an object oriented programming language suchas Java, Smalltalk, C++ or the like. However, the computer program codefor carrying out operations of the present invention may also be writtenin conventional procedural programming languages, such as the “C”programming language or similar programming languages. The program codemay execute entirely on the user's computer, partly on the user'scomputer, as a stand-alone software package, partly on the user'scomputer and partly on a remote computer or entirely on the remotecomputer or server. In the latter scenario, the remote computer may beconnected to the user's computer through a local area network (LAN) or awide area network (WAN), or the connection may be made to an externalcomputer (for example, through the Internet using an Internet ServiceProvider).

The present invention is described below with reference to flowchartillustrations and/or block diagrams of methods, apparatus (systems) andcomputer program products according to embodiments of the invention. Itwill be understood that each block of the flowchart illustrations and/orblock diagrams, and combinations of blocks in the flowchartillustrations and/or block diagrams, can be implemented by computerprogram instructions. These computer program instructions may beprovided to a processor of a general purpose computer, special purposecomputer, or other programmable data processing apparatus to produce amachine, such that the instructions, which execute via the processor ofthe computer or other programmable data processing apparatus, createmeans for implementing the functions/acts specified in the flowchartand/or block diagram block or blocks.

These computer program instructions may also be stored in acomputer-readable memory that can direct a computer or otherprogrammable data processing apparatus to function in a particularmanner, such that the instructions stored in the computer-readablememory produce an article of manufacture including instruction meanswhich implement the function/act specified in the flowchart and/or blockdiagram block or blocks.

The computer program instructions may also be loaded onto a computer orother programmable data processing apparatus to cause a series ofoperational steps to be performed on the computer or other programmableapparatus to produce a computer implemented process such that theinstructions which execute on the computer or other programmableapparatus provide steps for implementing the functions/acts specified inthe flowchart and/or block diagram block or blocks.

Referring now to the figures, FIG. 1 is a diagram showing anillustrative system (100) for updating web resources. In this example, aclient device (101) has a native container (102) that is used to operatean application that is downloaded from an online application store(103). Each downloaded application may have its own native container(102) dedicated to that application. The native container (102) mayprovide an interface with which a user may interface with an applicationthrough the client device (101).

In some examples, the client device is a mobile device, such as anelectronic tablet, a phone, a hand held electronic device, a watch,other mobile device, or combinations thereof. A user may search theapplication store (103) with the client device (101) over an interactconnection. In examples where a user requests to download an applicationfrom the store (103), the application store may send the applicationover the connection to the client device (101).

The application may contain machine readable instructions to extractpre-packaged web resources (104) from the application during theapplication's initial start-up and store the web resources in localfiles (105). The web resources may be markup language resources, clientside scripting implementations, files, media resources, other resources,or combinations thereof. A list of non-exhaustive examples of markuplanguage resources may include hypertext markup language (HTML) pages,cascading style sheets (CSS), other markup language resources, orcombinations thereof. An example of client side scriptingimplementations may include JavaScript.

In some examples, the local files are created for the dedicated purposeof storing web resources. In some examples, the local files arepermanent files that are saved to the client device. For example, thelocal files may be created with non-volatile memory, volatile memory,memory caches, random access memory, read only memory, electricallyerasable programmable read only memory, flash memory, static memory,dynamic memory, other file locations, or combinations thereof.

When an application is operating, the application creates a privatebrowser that implements web resources to run the application. The webresources may be located in the local files and the private browser mayaccess the web resource through the local files.

During the initial operation of the application, the application may usejust the web resources that were originally pre-packaged within theapplication. In some examples, however, the application queries anexternal server (106) for updates to the web resources during theapplication's initial use. In alternative examples, the application justqueries the external server (106) on subsequent application start-ups.If updates are available, the external server (106) may send the updatesto the client device (101), which may store the updates in the localfiles (105).

In response to downloading the updates, the application may begin to usethe updated version of the web resources. In some examples, theapplication continues to use the older version of the web resourceswhile the updated version is downloading. In some examples, theapplication waits to operate until the updated version is finisheddownloading. In other examples, the application continues to use theolder version of the web resources until the next subsequent start-up.In some examples, the updated version replaces the older version of webresources. In other examples, the updated web resources merely replacesportions of the web resources. In some examples, the updated webresources are extracted to the local files after the download iscomplete. In such an example, if the download fails before completion,the updated web resources that were successfully downloaded may beextracted after the download fails or the updated web resources may bedisregarded so that the complete download may be completed at a latertime.

If no updates are available, the application may use the version of theweb resources currently in the local files (105). The updates may beunavailable if there are no updates stored in the external server (106)or there is no connection between the client device (101) and theexternal server (106).

By pre-packaging the web resources in the application, the client device(101) is free to operate the application without relying on interactconnectivity to access the web resources. Further, by downloading theweb resources to local files, the application start-up time is minimizedbecause the client device does not need to connect with an online sourcefor access to the web resources. By downloading updated web resources asthey become available, the application may receive the latest updateswithout having to re-download the entire application every time a webresource changes.

The external server (106) may include update bundles for updatestargeted to client devices running on different operating systems. Forexamples, some updates may be specific to a particular operating systemand may be unsuited for applications running on client devices operatingwith different operating systems. Thus, multiple versions of an updatemay be made, which each version tailored for a specific operatingsystems or other operating conditions of the client device. On the otherhand, some updates may be common updates that are targeted to multipleoperating systems.

In the example of FIG. 1, the external server (106) has a firstoperating system update bundle (107) targeted to client device with afirst operating system, a second operating system update bundle (108)targeted to client device with a second operating system, and an N^(th)operating system update bundle (109) targeted to a client device with anN^(th) operating system, where “N^(th)” represents the last of anynumber of bundles or operating systems. Each of the bundles (107, 108,109) may include common updates (110). Further, the first operatingsystem update bundle (107) may include at least one first operatingsystem specific update (111), the second operating system update bundle(108) may include at least one second operating system specific update(112), and the N^(th) operating system update bundle (109) may includeat least one N^(th) operating system specific update (113).

In the example of FIG. 1, the external server (106) is a differentinternet location than where the application was original downloaded. Inother examples, the external server provides both entire application fordownloading and updates as they become available.

FIG. 2 is a diagram showing an illustrative system (200) for updatingweb resources. In this example, web resources are being assembled in adevelopment environment (201) to create common web resources (202) thatare targeted to multiple kinds of operating systems and specific webresources that are specific to particular kinds of operating systems.For example, the updates may use a single code that is specific for anoperating system. In this example, the specific web resources include atleast one first operating system specific web resource (203) and atleast one N^(th) operating system specific web resource (204). In thisexample, the web resources include markup language resources (205),client side scripting implementations (206), files (207), mediaresources (220), and other resources (208).

After the web resources are built they may be assembled into updatebundles and sent to an external server (209) that may be queried byclient devices. In this example, the external server (209) has a firstoperating system update bundle (210) that includes a versionidentification number (211), a target operating system identification(212), common updates folder (213) with updates common to multipleoperating systems, and a native folder (223) with updates specific toparticular operating systems. The version identification number (211)may be used to identify which version of updates is included in thebundle. The target operating system identification (212) may be used toidentify the operating system for which the bundle is targeted.

In some examples, the update bundles are also marked with a nativecontainer identification (221), so the requesting client device may knowfor which version of the native container that the updates are intended.For example, an update may include web resources to run a specificfeature, such as a voice recognition feature, that is supported in justthe most recent version of the native container. If the client devicedoes not have that version of the native container, the updates may notbe compatible.

A client device (213) may query the external server (209) for updates tothe application. The query (214) may include a header (215) thatcontains the server's address, the client device's operating serviceidentification (216), a local web resource version identification number(217), and a native container version identification (222). The response(218) may include header (219), which contain the client device'saddress, and the first operating update bundle (210).

In some examples, the client device (213) knows its operatingconditions. A non-exhaustive list of operation conditions may includeweb resource versions, native container versions, operating systemstypes, other conditions, and combinations thereof. In some examples, theweb resource version may include a sequential version and a deviceoptimization version. The sequential version may include versions wherethe latest version is the most up-to-date version of the web resources.The device optimization version may account for web resources that areintended for similar devices that use the slightly different versions ofthe same type of operating system. For example, applications may includedifferent version of code that are each optimized for different types ofdevices. These different codes may all be pre-packed into theapplication prior to downloading from the online store and theappropriate code version is selected after downloading. When the clientdevice (213) sends a query to the external server (209), the clientdevice (213) may communicate to the server (209) any number of operatingconditions to ensure consistency between the update bundles and theclient device.

In some examples, the external server (209) recognizes that under thecurrent operating conditions of the client device (213) that nocompatible updates are available. However, in some examples, theexternal server (209) recognizes that the client device (213) isoperating with an outdated version of a particular operation condition,such as an outdated native container. In such examples, the externalserver (209) may send a recommendation to the client device (213) toupdate a particular operating condition. In response, the client device(213) may request updates for the outdated operating condition and querythe external server for web resource updates after updating the outdatedoperating condition. By sending updates to the client device (213) thatare tailored to the operating conditions of the client device (213),both the server (209) and the client device (213) consume lessprocessing energy, reduce bandwidth, and increase processing speed. Inresponse to downloading updates for any of the operating conditions, theclient device (213) may update its identifications.

FIG. 3 is a diagram showing an illustrative system (300) for operatingan application. In this example, the client device (301) has adownloaded application (302) that has a first component (303) forextracting web resources in response to an initial application start-upand a second component (304) for operating the application. The secondapplication (304) may access the web resources extracted by the firstcomponent (303) from the local files (305) during the application'soperation and during the application's start-up.

The application (302) may include machine readable instructions to querythe external server (306) for updates to the web resources. In theexample of FIG. 3, the query is sent during a non-connectivity periodbetween the server (306) and the client device (301). In FIG. 3, thenon-connectivity period is depicted with cross (307). Thenon-connectivity period may include periods where the external server(306) is turned off or out of range. In some examples, thenon-connectivity period includes times when the server (306) is capableof receiving the query from the client device (301), but the server(306) is fails to send the all or part of the web resource updates.

In some examples, the updated web resources are extracted to the localfiles after the download is complete. In such an example, if thedownload fails before completion, the updated web resources that weresuccessfully downloaded may be extracted after the download fails or theupdated web resources may be disregarded so that the complete downloadmay be completed at a later time.

FIG. 4 is a diagram showing an illustrative method (400) for updatingweb resources. In this example, the method (400) includes extracting(401) web resources from an application to local files in response to aninitial start-up of the application, downloading (402) updates to theweb resources to the local files from an external server, and running(403) the application using contents from the local files. The contentsof the local files may be the most recent version of the web resources.

In some examples, the method (400) is performed by the client device, aprocessor, the application, or combinations thereof. The method (400)may include querying the external server to identify the updates.Running the application may include running the application during aperiod of non-connectivity with the external server. Further, runningthe application may include running the application during an operationsubsequent the time when the application was initially started-up.

In some examples, extracting web resources from an application to localfiles in response to an initial start-up of the application includescreating permanent files for the web resources. In some examples, theweb resources are pre-packaged within the application when theapplication is originally downloaded. The web resources may includemarkup language resources, client side scripting implementations, files,media resources, other resources, or combinations thereof.

Downloading the updates may include downloading an updated version ofthe web resources or downloading portions of the web resources. In someexamples, the updates replace the web resources originally in the localfiles. The updates may include a resource identifier. In some examples,the resource identifier contains a web resource version identification.Further, the resource identifier may include a target operating systemidentification.

In some examples, downloading updates to the local files includesdownloading the updates from a native folder that has specific updatestargeted to a specific operating system. Further, in some examples, theupdates include a common folder that contains common updates that aretargeted for multiple operating systems. In some examples, when there isa conflict between the common updates and the specific updates, thespecific updates may override the common updates. For example, if adefinition, logic, or a resource in the common updates conflict withthose of the specific updates, the application may implement those fromthe specific updates.

FIG. 5 is a diagram showing an illustrative method (500) for updatingweb resources. In this example, the method (500) includes sending (501)an application with web resource to a client device. The applicationincludes a first component for extracting the web resources to localfiles on the client device and a second component for operating theapplication using the web resources from the local files. In FIG. 5, themethod (500) further includes receiving (502) a query from the clientdevice for updates to the web resources and sending (503) the updates tothe client device.

In some examples, the updates include specific updates targeted to aspecific operating system. The updates may also include common updatesthat are targeted to multiple operating systems. The specific updatesmay override the common updates when a conflict between the commonupdates and the specific updates exist.

FIG. 6 is a diagram showing an illustrative processor (600). In thisexample, a central processing unit (CPU) (601) is in communication withan input/output (602). The CPU (601) may be in communication with anapplication downloader (603) that may download an application for aclient device from an online source. A resource extractor (604) mayextract web resources pre-packaged in the application and put them intolocal files created by a local file generator (605). In some examples,the local files are in location off of the processor chip, but inalternative examples, the local files are located on processor's chip.

The CPU (601) may also be in communication with an application operator(606) that operates the application. An application start-up (607) maystart the application for the initial start-up and/or subsequentstart-ups. In sonic examples, the resource extractor (604) extracts theweb resources from the application during the initial start-up of theapplication on the client device. During operation, the applicationoperator (606) may access the local files for web resources that wereextracted from the application.

During a start-up or during the application's operation, a querygenerator (608) may generate a query for updates. The CPU (601) may sendthe query to the input/output (602) that sends the query to an externalserver to look for updates. The external server may be located at somelocation accessible over the internet. In some examples, the externalserver is located over a network, such as a local area network, a widearea network, a telecommunications network, a private virtual network, acorporate network, another type of network, or combinations thereof.

The query may include a resource indicator (609), which may include aweb resource version identification (610) and/or an operating systemidentification (611). The resource indicator (609) may be used toidentify an appropriate update bundle that is tailor made for the clientdevice. For example, the web resource version identification (610) mayinclude an identification of the current version of web resources beingused in the local files. If the external server has a more updatedversion than the current version in the local files, then the externalserver may recognize that the client device needs the updated version.Also, the operating system identification (611) may include anidentification that allows the external server to recognize the clientdevice's type of operating system and send an update bundle that hasupdates that are specific to that type of operating system.

In the example of FIG. 6, the processor (600) includes a resourceindicator recognizer (612) that may be used to determine if an updatebundle sent from the external server is appropriate for the clientdevice. For example, the resource indicator recognizer (612) may checkthe operating system identifier and/or a version identifier included inan update bundle from the external server. If the version identifierindicates that the update version sent by the external server is newerthan what is currently in the local files, an update downloader (613)may download the newer version of updates. The newer update version mayreplace the current version in the local files in whole or in part. Ifthe version identifier indicates that the version in the update bundleis not newer than what is included in the local files, then theprocessor (600) may disregard the update. Likewise, if the operatingsystem identifier in the update bundle indicates that the update isintended for an application operated on a device with an operatingsystem other than the client device's operating system, then theprocessor (600) may also disregard the update bundle.

The updates may include common web resources that may be universallyused on devices operating on any operating system. Also, the updates mayinclude specific updates that are specific to just the type of operatingsystem used by the client device. The processor (600) may include aconflict identifier (614) that identifies whether there is a conflictbetween the common and specific updates. If there is a conflict betweenthe common and specific updates, then a resource overrider (615) maycause the specific updates to override the common updates when theapplication is in use.

FIG. 7 is a diagram showing an illustrative network device (700), suchas an external server. In this example, the network device (700) has aprocessor (601) with a central processing unit (CPU) (702) that is incommunication with an input/output (703). The processor (701) mayreceive a query from a client device looking for updates. The processor(701) may include a query reader (704) that identifies whether an updatebundle should be sent back to the client device. If so, a bundleselector (705) may identify the appropriate bundle with the correctversion and operating system for the client device.

In this example, the network device (700) contains a first update bundle(706), a second update bundle (707), and an N^(th) update bundle (708),where the N^(th) represents the last of any number of bundles containedin the network device (700). Each of the update bundles (706, 707, 708)may also include common folders (709, 710, 711) that contain the sameupdates that are intended for all operating systems. Further, each ofthe update bundles (706, 707, 708) may also include native folders (712,713, 714) that contain updates that are specific to just certain typesof operating systems.

In this example, the update bundles (706, 707, 708) are stored off ofthe processor (701), but in some examples, the update bundles is storedon the processor's chip. In response to selecting the appropriate updatebundle, the processor may cause the appropriate update bundle to be sentto the client device.

FIG. 8 is a diagram showing an illustrative flowchart (800) of a processfor updating web resources. In this example, the flowchart (800)includes downloading (801) the application from an online source. Theprocess may also include beginning (802) an initial application start-upof the application on the client device. The start-up may includeforming (803) local files and extracting (804) web resources from theapplication to the local files. While the application is running, theapplication may use the web resources in the local files.

In response to beginning (805) a subsequent application start-up, theprocess may include determining (806) whether the client device has aconnection to the external server. If not, the application may use (807)the web resources in the local tiles to operate the application. If theclient device establishes a connection with the external server, thenthe process may include querying (808) the external server for webresource updates in response to a querying triggering event. In someexamples, a non-exhaustive list of query trigging events includes astart-up of the application, an expiration of a run time of the clientdevice, a change in a foreground/background status of the application, aclosure of the application, another query triggering event, orcombinations thereof. If the external server does not have any updates(813), then the process may include using (807) the web resources in thelocal tiles to operate the application. If updates exist (814), then theprocess may include downloading (809) the updates to the local files. Insome examples, downloading the updates includes replacing the originalcontents of the local files in whole or in part at the completion of thedownload. In other examples, the updates replace the local files'contents in whole or in part at a later time, such as at the beginningof a subsequent application start-up or at the termination of thecurrent application's operation. After downloading, the process mayinclude using (807) the web resources in the local files to operate theapplication.

The process may also include determining (810) whether there are bothcommon and operating system specific web resources in the local files.If so, then determining (811) whether there is a conflict between thecommon and operating system specific web resources. If there is aconflict, then the process may include overriding (812) the common webresources with the operating specific web resources. When the processdetermines that both common and specific web resources do not exist orthat there is no conflict between such web resources, the process mayinclude operating (815) the application. In some examples, the processincludes operating the application after overriding any conflicts, andin other applications the process includes just overriding conflicts asthey become relevant during the operation of the application.

FIG. 9 is a diagram showing an illustrative flowchart (900) of a processfor updating web resources. In this example, the flowchart (900)includes receiving (901) common application updates from a developmentenvironment and receiving (902) operating system specific applicationupdates also from the development environment. The process may furtherinclude forming (903) an operating system specific update bundle withboth common application updates and operating system specificapplication updates. The process may also include receiving (904) aquery for any available web resource updates.

The process may include determining (905) whether the query has an olderupdate version identification and determining (906) whether the querymatches the update bundle's operating system's identification. If eitherdetermination comes up negative, the process may include sending (907) aresponse that no new updates are available. However, if both of thedeterminations (905, 906) are affirmative, then the process may includesending (908) the appropriate operating system specific update bundle inresponse.

While the above examples have been described with specific servers andspecific client devices, any servers or client devices may be usedaccording to the principles described herein. Further, while the aboveexamples have been described with specific indicators for matchingqueries with appropriate updates, any indicators may be used accordingto the principles described herein. Further, while specific query andresponse structures have been described with the above mentionedexamples, any structures for queries or responses may be used inaccordance with the principles described herein. Further, while specificupdate bundles have been described with both specific and commonupdates, the scope of the principles described herein includes bundleswith just common or just specific updates.

Further, while some of the above examples have been described withspecific subsequent application start-ups, a subsequent applicationstart-up may be any start-up of the application that occurs after theinitial application start-up. While some of the examples have beendescribed with specific types of web resources, any web resources may beincluded within the scope of the principles described herein.

The descriptions of the various examples of the present invention havebeen presented for purposes of illustration, but are not intended to beexhaustive or limited to the examples disclosed. Many modifications andvariations will be apparent to those of ordinary skill in the artwithout departing from the scope and spirit of the described examples.The terminology used herein was chosen to best explain the principles ofthe examples, the practical application or technical improvement overtechnologies found in the marketplace, or to enable others of ordinaryskill in the art to understand the examples disclosed herein.

What is claimed is:
 1. A method for updating web resources, comprising:extracting web resources from an application to local files of a clientdevice; downloading updates to said web resources to said local filesfrom an external server; and running said application using contentsfrom said local files.
 2. The method of claim 1, further comprisingquerying said external server to identify said updates.
 3. The method ofclaim 2, wherein querying said external server to identify said updatesincludes querying said server in response to a query triggering event ofsaid client device.
 4. The method of claim 3, wherein said queryingtriggering event includes a start-up of said application, an expirationof a run time of said client device, a change in a foreground/backgroundstatus of said application, a closure of said application, orcombinations thereof.
 5. The method of claim 1, wherein downloadingupdates to said web resources to said local files from an externalserver includes downloading an updated version of said web resources. 6.The method of claim 1, wherein downloading updates to said web resourcesto said local files from an external server includes replacing said webresources with updated web resources.
 7. The method of claim 1, whereindownloading an updated version of said web resources includesdownloading said updates with a resource indicator.
 8. The method ofclaim 7, wherein said resource indicator comprises a web resourceversion identification.
 9. The method of claim 7, wherein said resourceindicator comprises a target operating system identification.
 10. Themethod of claim 1, wherein running said application using contents fromsaid local files includes running said application during a period ofnon-connectivity with said external server.
 11. The method of claim 1,wherein downloading updates to said web resources to said local filesfrom an external server includes downloading said updates from a nativefolder that comprises specific updates that are targeted to a specificoperating system.
 12. The method of claim 11, wherein downloadingupdates to said web resources to said local files from an externalserver includes downloading said updates from a common folder thatcomprises common updates that are targeted to multiple operatingsystems.
 13. The method of claim 12, further comprising overriding saidcommon updates with said specific updates in response to a conflictbetween said common and specific updates.
 14. The method of claim 1,wherein downloading updates to said web resources to said local filesfrom an external server includes downloading specific updates specificto said client device that override common updates that are compatiblewith multiple client devices.
 15. The method of claim 1, whereinextracting web resources from an application to a local files includescreating permanent files for said web resources.
 16. The method of claim1, wherein said web resources include markup language resources, clientside scripting implementations, files, media resources, or combinationsthereof.
 17. A method for updating web resources, comprising:downloading an application comprising web resources; extracting webresources from said application to local files in response to an initialstart-up of said application; querying a server to identify updates tosaid web resources; downloading said updates to said web resources tosaid local files from an external server; and running said applicationusing contents from said local files.
 18. The method of claim 17,wherein running said application using contents from said local filesincludes running said application during a subsequent start-up during aperiod of non-connectivity with said external server.
 19. The method ofclaim 17, wherein downloading updates to said web resources to saidlocal files from an external server includes replacing said webresources with updated web resources.
 20. A method for updating webresources, comprising: receiving a query from a client device forupdates to web resources of an application downloaded to said clientdevice, said application comprising a first component to extract saidweb resources to a local files on said client device and a secondcomponent to operate said application using said web resource from saidlocal files; and sending said updates to said client device.
 21. Themethod of claim 20, wherein said updates comprise specific updatesspecific to applications targeted to a specific operating system. 22.The method of claim 21, wherein said updates comprise common updatesthat are targeted to multiple operating systems and said specificupdates override said common updates in response to a conflict betweensaid common and specific updates.
 23. A method for updating webresources, comprising: extracting web resources from an application topermanent local files of a client device in response to an initialstart-up of said application on said client device; querying a server toidentify updates to said web resources, said updates comprising aresource indictor comprising an identification for an operating systemof said client device; downloading said updates to said web resources tosaid permanent local files from an external server; and running saidapplication using contents from said permanent local files.
 24. Themethod of claim 23, wherein running said application using contents fromsaid permanent local files includes running said application during anon-connectivity period with said external server.
 25. The method ofclaim 23, wherein running said application using contents from saidpermanent local files includes running said application during asubsequent start-up of said application.